package com.sodaopen.crm.customer.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sodaopen.crm.customer.entity.Customer;
import com.sodaopen.crm.customer.vo.CustomerVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SodaJava
 * @since 2020-07-04
 */
public interface ICustomerService extends IService<Customer> {

    CustomerVO getCustomerByIdWithRecords(Integer id);

	List<String> distinctCountry();

    Page<Customer> queryCustomer(Map<String, Object> params, Integer page, Integer limit);

    void addCustomer(Customer customer);
}
